<?php
namespace app\common\model;
use think\Model;
class BisAccount extends BaseModel{
    
    public function updateById($data,$id){
        //更新 allowField(true) 过滤非表单中的内容
        return $this->allowField(true)->save($data,["id"=>$id]);
    }
    
}


